Migrate from rustc-serialize to Serde
authorAlex Crichton <alex@alexcrichton.com>
Fri, 10 Feb 2017 20:01:52 +0000 (12:01 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 22 Feb 2017 18:29:40 +0000 (10:29 -0800)
commita5a298f1fd5b5ccf03ccb71c0cb6b97867e26d18
tree5df475f8ed666aa6397dcd4fea52c42337abe9cd
parente278ea30e14a096c1354af7eb47a97559beed098
Migrate from rustc-serialize to Serde

This commit migrates Cargo as much as possible from rustc-serialize to
Serde. This not only provides an excellent testing ground for the toml
0.3 release but it also is a big boost to the speed of parsing the JSON
bits of the registry.

This doesn't completely excise the dependency just yet as docopt still
requires it along with handlebars. I'm sure though that in time those
crates will migrate to serde!
35 files changed:
Cargo.lock
Cargo.toml
src/bin/cargo.rs
src/bin/locate_project.rs
src/bin/verify_project.rs
src/cargo/core/dependency.rs
src/cargo/core/manifest.rs
src/cargo/core/package.rs
src/cargo/core/package_id.rs
src/cargo/core/resolver/encode.rs
src/cargo/core/source.rs
src/cargo/lib.rs
src/cargo/ops/cargo_install.rs
src/cargo/ops/cargo_output_metadata.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/ops/lockfile.rs
src/cargo/sources/directory.rs
src/cargo/sources/git/utils.rs
src/cargo/sources/registry/index.rs
src/cargo/sources/registry/mod.rs
src/cargo/sources/registry/remote.rs
src/cargo/util/config.rs
src/cargo/util/errors.rs
src/cargo/util/machine_message.rs
src/cargo/util/toml.rs
src/crates-io/Cargo.toml
src/crates-io/lib.rs
tests/bad-config.rs
tests/build.rs
tests/cargotest/Cargo.toml
tests/cargotest/lib.rs
tests/cargotest/support/mod.rs
tests/cargotest/support/registry.rs
tests/registry.rs